﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GPCodeConjurer
{
	public partial class CodeWindow : Form
	{
		public CodeWindow(string text)
		{
			InitializeComponent();
			this.textBox1.Text = text;
			this.textBox1.Select(0, 0);
		}




		private void button1_Click(object sender, EventArgs e)
		{
			this.Close();
		}

		private void button2_Click(object sender, EventArgs e)
		{
			Clipboard.SetDataObject(this.textBox1.Text, true);
		}
	}
}
